package cn.edu.lingnan.tourism.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TimeUtil {
    public static String getNowTime(){
        SimpleDateFormat time = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String nowTime = time.format(new Date());
        return nowTime;
    }
}
